ngl: Improve the coloring shader
authorMatthias Clasen <mclasen@redhat.com>
Sat, 13 Mar 2021 23:04:26 +0000 (18:04 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 14 Mar 2021 20:49:31 +0000 (16:49 -0400)
commit8aac574d630e7e6b72a0b8f151f305369362ce1d
treebb6d9d78cce5dc8fee497c100cf3d439368a79e6
parentc1f98d6837f37a13925c55872e01faca1e99fda7
ngl: Improve the coloring shader

Since we are now passing a float anyway, we can avoid
the branch in the fragment shader.
gsk/ngl/resources/coloring.glsl